package com.cb.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.cb.wxy.pojo.CouoponsUser;
import com.jia.entity.ComboMid;
import com.jia.vo.ComBoVo;

import java.util.List;

/**
* @author 卫相阳
* @description 针对表【t_combo_mid】的数据库操作Service
* @createDate 2024-04-25 20:40:49
*/
public interface ComboMidService extends IService<ComboMid> {

    Integer getMoney(Integer cid, Integer tid, Integer vid, Integer state);

    boolean buy(Integer id, Integer money);

    ComBoVo find(String id);

    boolean getId(Integer id);

    List<CouoponsUser> getUidCid(Integer id);

    void updateByIdByinted(Integer id, Integer integral);

    boolean updateByIdByintegral(Integer id, Integer integral);
}
